package logTest

var (
	Logger LogI
)

func init() {
	Logger = NewLog()
}

func NewLog() LogI {
	return &Log{}
}

type Log struct {
}

func (l *Log) Debug(message ...interface{}) {
	write("DEBUG", message)
}

func (l *Log) Info(message ...interface{}) {
	write("INFO", message)
}

func (l *Log) Warn(message ...interface{}) {
	write("WARN", message)
}

func (l *Log) Error(message ...interface{}) {
	write("ERROR", message)
}

func (l *Log) Panic(message ...interface{}) {
	write("PANIC", message)
}

func (l *Log) Println(level string, message ...interface{}) {
	write(level, message)
}

func (l *Log) Close() {

}
